package com.mingqijia.gassafety.db.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingqijia.gassafety.db.entity.Consumer;
import com.mingqijia.gassafety.db.entity.ConsumerSubsCode;
import com.mingqijia.gassafety.db.entity.MigrateConsumer;
import com.mingqijia.gassafety.db.entity.MigrateDtu;
import com.mingqijia.gassafety.db.entity.vo.CustListAsstVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author wanghai
 * @since 2022-02-22
 */
@Mapper
@Repository
@DS("db5")
public interface ConsumerSubsCodeMapper extends BaseMapper<ConsumerSubsCode> {

    List<ConsumerSubsCode> getList();

    void insertMigrateBatch(@Param("subsCodeList")List<ConsumerSubsCode> subsCodeList);
}
